home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 321 / text0000.txt < prev   
Encoding:
Text File  |  1996-08-05  |  702 b   |  33 lines

  1. On 5 Jan 1996, Peter ╓sterlund wrote:
  2.  
  3. > I would like to do something like
  4. > gcc -DX="word1 word2" test.c -o test
  5. > The problem is that gcc thinks that the definition of X is X="word1
  6. > and then complains about not understanding word2". Is there a way around
  7. > this problem?
  8. > I am using GCC 2.7.0 and the standard amiga shell.
  9.  
  10. This could possibly be a bug in GCC. The command line
  11.  
  12. gcc "-DX=\"word1 word2\"" test.c -o test
  13.  
  14. works perfectly in UNIX GCC, but not in Amiga GCC. 
  15.  
  16. I would appreciate any help on this subject.
  17.  
  18. --
  19.  
  20. Address: Peter ╓sterlund
  21.      Sk÷ndalsvΣgen 35
  22.      S-128 66 Sk÷ndal
  23.      Sweden
  24.  
  25. Phone:     +46 8 942647
  26. E-mail:  peter.osterlund@mailbox.swipnet.se
  27.      f90-pos@nada.kth.se
  28.  
  29.